#ifndef CHANGEPSWD_H
#define CHANGEPSWD_H

#include <QWidget>
#include "mainwindow.h"
#include <QSqlQuery>
#include <QSqlDatabase>
#include "globle.h"
#include "manger.h"
#include "teacherform.h"
#include "studentform.h"

namespace Ui {
class changePswd;
}

class changePswd : public QWidget
{
    Q_OBJECT

public:
    explicit changePswd(int index,QWidget *parent = nullptr);
    ~changePswd();

private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::changePswd *ui;

    int m_index;
};

#endif // CHANGEPSWD_H
